package com.carson.undergo.base

import com.carson.undergo.utils.bean.WanAndroidListBean
import com.model.common.utils.model.city.ProvinceBean
import com.model.common.utils.http.call.CompletableCall
import retrofit2.http.GET
import retrofit2.http.Headers

/**
 * Create by Carson on 2021/12/23.
 */
interface ApiService {

    companion object {
        const val cityUrl = "BaseUrlName:city"
    }

    /**
     * 获取省市区信息
     */
    @Headers(cityUrl)
    @GET("cons/mst/region_mst.json")
    fun requestCity(): CompletableCall<ArrayList<ProvinceBean>>

    /**
     * 获取玩android公众号列表
     */
    @GET("wxarticle/chapters/json  ")
    fun getWxArticleList(): CompletableCall<ArrayList<WanAndroidListBean>>
}